Fix xenstore entry accounting
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 30 May 2007 09:04:23 +0000 (10:04 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 30 May 2007 09:04:23 +0000 (10:04 +0100)
commit29dd27927cb9cff9e97e1e6b6b25a425c30e238d
tree46e0e20e50894706f38b381b75d221af8e479deb
parent57e9895926c04bc586b249f4dd103c052f7a784d
Fix xenstore entry accounting

xenstored is incorrectly accounting domain nodes when transactions
fail. Store pending count changes in the transaction structure, and
apply at transaction completion, instead of directly applying the
changes.

Signed-off-by: Max Zhen <max.zhen@sun.com>
tools/xenstore/xenstored_domain.c
tools/xenstore/xenstored_domain.h
tools/xenstore/xenstored_transaction.c
tools/xenstore/xenstored_transaction.h